name: py3
run_id: commands[0]
env HOME: /home/jenkins
env LANG: C.UTF-8
env PATH: /w/workspace/com-pylog-tox-sonarqube/mdclogpy/.tox/py3/bin:/opt/pyenv/bin:/tmp/venv-08rd/bin:/opt/pyenv/shims:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin
env PIP_DISABLE_PIP_VERSION_CHECK: 1
env PIP_USER: 0
env PYTHONHASHSEED: 1001647944
env PYTHONIOENCODING: utf-8
env SSH_AGENT_PID: 1602
env SSH_AUTH_SOCK: ********************************
env TOX_ENV_DIR: /w/workspace/com-pylog-tox-sonarqube/mdclogpy/.tox/py3
env TOX_ENV_NAME: py3
env TOX_PACKAGE: /w/workspace/com-pylog-tox-sonarqube/mdclogpy/.tox/.tmp/package/1/mdclogpy-1.1.4.tar.gz
env TOX_WORK_DIR: /w/workspace/com-pylog-tox-sonarqube/mdclogpy/.tox
env VIRTUAL_ENV: /w/workspace/com-pylog-tox-sonarqube/mdclogpy/.tox/py3
env __TOX_ENVIRONMENT_VARIABLE_ORIGINAL_CI: true
metadata pid: 2471
cwd: /w/workspace/com-pylog-tox-sonarqube/mdclogpy
allow: /w/workspace/com-pylog-tox-sonarqube/mdclogpy/.tox/py3/bin/*
cmd: pytest --junitxml xunit-results.xml --cov mdclogpy --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=70
exit_code: 0
============================= test session starts ==============================
platform linux -- Python 3.10.6, pytest-9.0.3, pluggy-1.6.0
cachedir: .tox/py3/.pytest_cache
rootdir: /w/workspace/com-pylog-tox-sonarqube/mdclogpy
plugins: cov-7.1.0
collected 22 items

tst/test_Logger.py .................                                     [ 77%]
tst/test_mdclogpy.py .....                                               [100%]

=============================== warnings summary ===============================
tst/test_Logger.py:138
  /w/workspace/com-pylog-tox-sonarqube/mdclogpy/tst/test_Logger.py:138: DeprecationWarning: invalid escape sequence '\ '
    self.logger.info('\ and "')

tst/test_Logger.py:143
  /w/workspace/com-pylog-tox-sonarqube/mdclogpy/tst/test_Logger.py:143: DeprecationWarning: invalid escape sequence '\ '
    self.assertEqual(logs[0]["msg"], '\ and "')

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- generated xml file: /w/workspace/com-pylog-tox-sonarqube/mdclogpy/xunit-results.xml -
================================ tests coverage ================================
_______________ coverage: platform linux, python 3.10.6-final-0 ________________

Name                   Stmts   Miss  Cover   Missing
----------------------------------------------------
mdclogpy/Logger.py       133     10    92%   83-87, 95, 189-190, 241-243
mdclogpy/__init__.py      28      4    86%   42, 82, 87, 92
----------------------------------------------------
TOTAL                    161     14    91%
Coverage HTML written to dir htmlcov
Coverage XML written to file coverage.xml
Required test coverage of 70% reached. Total coverage: 91.30%
======================== 22 passed, 2 warnings in 0.53s ========================
